// import base from './base' // 导入接口域名列表
import axios from '@/http' // 导入http中创建的axios实例
import qs from 'qs' // 根据需求是否导入qs模块

const common = {
  sendsn(params) {
    return axios.post('/api/posts/sms_send', qs.stringify(params))
  },
  sms_back(params) {
    return axios.post('/api/posts/sms_back', qs.stringify(params))
  },
  city() {
    return axios.post('https://www.fastmock.site/mock/cab80e667fc295aa088c1da19973bb87/ele/city3')
  },
  // 新闻详情,演示
  articleDetail() {
    return axios.get(`http://toc2.site.8dfish.com/work.php?action=init_data_list&page=1&pagesize=20`)
  }
}

export default common
